package net.ak.constant;

public class Constant {
	
	public static final String SUCCESS_CODE 	= "200";
	public static final String SUCCESS_MESSAGE 	= "success";

	public static final String INSERT_ERROR_CODE 	= "";
	public static final String INSERT_ERROR_MESSAGE = "Has exception when insert data into the database";
	
	//user
	public static final String INVALID_EMAIL_CODE 				= "101";
	public static final String INVALID_EMAIL_MESSAGE 			= "INVALID EMAIL";
	public static final String EXIST_EMAIL_MESSAGE 				= "EXISTING EMAIL";
	
	public static final String EXIST_USER_CATEGORY_CODE 		= "101";
	public static final String EXIST_USER_CATEGORY_MESSAGE 		= "EXISTING USER CATEGORY";
	
	public static final String INVALID_LOGIN_CODE 		= "101";
	public static final String INVALID_LOGIN_MESSAGE 	= "Invalid login";
	
	
	//category
	public static final String EXIST_CATEGORY_CODE 			= "101";
	public static final String EXIST_CATEGORY_MESSAGE 		= "EXISTING USER CATEGORY";
	
	
	//session
	public static final String INVALID_SESSION_CODE 		= "103";
	public static final String INVALID_SESSION_MESSAGE 		= "Invalid session";
	
	//session
	public static final String EXPIRED_SESSION_CODE 		= "104";
	public static final String EXPIRED_SESSION_MESSAGE 		= "Session is expired";
	
	//session
	public static final String ACTIVE_SESSION_CODE 			= "";
	public static final String ACTIVE_SESSION_MESSAGE 		= "Already active";
	
}
